package com.aikg.kgrag_java.pojo.entity;

import lombok.Setter;

/**
 * @ClassName: RoleContentPair
 * @Description: 角色以及角色的对话内容实体类
 * @Author: 李宗雨
 * @Date: 2024/12/30 14:09
 * @Version: 1.0
 **/
@Setter
public class RoleContentPair {

    /**
     * 大模型对话的角色
     * @see com.aikg.kgrag_java.pojo.enums.RoleEnum
     */
    public String role;

    /**
     * 角色所说的内容
     */
    public String content;

    public RoleContentPair(String role, String content) {
        this.role = role;
        this.content = content;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
